package com.yanfan.energy.domain;

/**
 * @author caijinkang
 * @date 2023年05月09日 16:28
 */
public class EconomicalProBody {
    /**
     * id标识
     *
     * @author caijinkang
     * @date 2023/5/10 10:32
     * @param null
     * @return null
     */
    private Integer id;
    /**
     * 名称标识
     *
     * @author caijinkang
     * @date 2023/5/10 10:32
     * @param null
     * @return null
     */
    private String name;
    /**
     * 费用
     *
     * @author caijinkang
     * @date 2023/5/10 10:32
     * @param null
     * @return null
     */
    private Double price;
    /**
     * 比例
     *
     * @author caijinkang
     * @date 2023/5/10 10:32
     * @param null
     * @return null
     */
    private Double ratio;

    public EconomicalProBody() {
    }

    public EconomicalProBody(Integer id, String name, Double price, Double ratio) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.ratio = ratio;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getRatio() {
        return ratio;
    }

    public void setRatio(Double ratio) {
        this.ratio = ratio;
    }

    @Override
    public String toString() {
        return "EconomicalProBody{" + "id=" + id + ", name='" + name + '\'' + ", price=" + price + ", ratio=" + ratio + '}';
    }
}
